let Event = {
    on(name, fn) {
        uni.$on(name, fn)
    },
    once(name, fn) {
        uni.$once(name, fn)
    },
    emit(name, data) {
        uni.$emit(name, data)
    },
    off(name, cb) {
        uni.$off(name, cb)
    }
}

export default Event
